package com.tech.tool.dao;

import com.tech.tool.dataobject.UserInfo;
import com.tech.tool.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class UserInfoDao {

    @Autowired
    UserInfoMapper mapper;

    public int insertByObject(UserInfo userInfo) {
        return mapper.insertByObject(userInfo);
    }
}
